Technotes
TECHNOTE: Inside Macintosh: QuickDraw GX Environment and Utilities Errata
Technote 1022 | FEBRUARY 1996 |
Ingrid Kelly
Apple Developer Technical Support (DTS)
This Technical Note discusses known errors and omissions in Inside Macintosh: QuickDraw GX Environment and Utilities.
Topics:
- Correction to Table 7-3 January 1996
- Correction to Section "Data Type Opcodes to Modify a Shape Object" January 1996
- Correction to Table 7-4 January 1996
- Correction to Table 7-5 January 1996
- Correction to Listing 7-1 January 1996
- Correction to Section "Header Data" January 1996
- Correction to Table 7-14 January 1996
- Correction to Table 7-15 January 1996
Contents
Chapter 7 - QuickDraw GX Stream Format
Correction to Table 7-3 Page 7-16, Data Type Opcodes for a new object
Constant Current Value Corrected Value
gxGlyphType 0x10 0x0A
gxLayoutType 0x11 0x0B
gxFullType 0x12 0x0C
gxPictureType 0x13 0x0D
Correction to Section 'Data Type Opcodes to Modify a Shape Object' Page 7-17
The sentence that reads "Data type opcode constants for attributes, tag, ink, and
fill are defined in the gxShapeDataOpcode enumeration." is incorrect; ink is not
part of the enumeration.
Correction to Table 7-4 Page 7-17, Data Type opcodes to modify a style object
Current Constant Corrected Constant
gxTagOpcode gxShapeTagOpcode
gxFillOpcode gxShapeFillOpcode
Correction to Table 7-5 Page 7-19, Data Type opcodes to modify a style object
Constant Current Value Corrected Value
gxStyleRunPriorityJustOverrideOpcode 0x1F 0x0F
Correction to Listing 7-1 Page 7-27, Determining if position (x) is byte compressed
if ((a & (gxOmitTextPositionXMask >> gxOmitTextPositionXShift)) ==
gxByteCompression
should be:
if ((a & (gxOmitTextPositionXMask >> gxOmitTextPositionXShift)) ==
gxByteCompression)
Correction to Section 'Header Data' Page 7-27
The sentence that reads "The header marks the beginning of a new flattened shape in
the data stream" should read:
"The header marks the beginning of the first flattened shape in the data stream."
Correction to Table 7-14 Page 7-62, Analysis of the data stream of a flattened line
shape
Values in data stream Type of Info. Current Value Corrected Value
0x2F (00 101111) Compression 2 0
type opcode
...
0x28 (00 101000) Compression 2 0
type opcode
Correction to Table 7-14 Page 7-63, Analysis of the data stream of a flattened line
shape
Values in data stream Type of Info. Should be
0x83 (00 000011) Compression Byte Compression
type opcode
Correction to Table 7-15 Page 7-66, Analysis of the data stream of a flattened rectangle
shape
Values in data stream Type of Info. Current Value Corrected Value
0x09 (00 001001) Record Size 5 9
...
0x00 4B Data 125.0 75.0
Correction to Section 'Analyzing a Flattened Curve Shape' Page 7-67
The sentence that reads "The size and shape of the curve are defined by its first
point (210.0), control point (460.0, 75.0), and last point (310.0, 125.0)." should read:
"The size and shape of the curve are defined by its first point (210.0, 25.0), control
point (460.0, 75.0), and last point (310.0, 125.0)."
Technotes
Previous Technote | Contents | Next Technote